
import {createBrowserRouter,RouterProvider} from 'react-router-dom'
import router from './router'
import { Suspense } from 'react'
function App() {

  return (
    <>
      <Suspense fallback={<div>加载中。。。</div>}>
      <RouterProvider router={createBrowserRouter(router)}/>
      </Suspense>
    </>
  )
}

export default App
